/**
 * 
 */
package com.yuyi.model;

import java.io.Serializable;

/**
 * 聊天记录表
 *
 * @author wxt <br>
 *
 * 2019年4月1日 下午4:14:35
 *
 */
public class ChatDO implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = 365604499124704481L;
    
    /**表id*/
    private Integer id;

    /**发送人ID*/
    private Integer senderId;

    /**发送人名称*/
    private String senderName;

    /**接收人ID*/
    private Integer recipientId;

    /**接收人名称*/
    private String recipientName;

    /**发送时间*/
    private Long sendTime;

    /**发送内容*/
    private String sendContent;

    /**访客记录ID*/
    private Integer visitorId;

    /**删除标记1：正常，2：删除*/
    private Integer delete1;

    /**文件大小*/
    private Integer size;

    /**文件名称*/
    private String fileName;

    /**文件id*/
    private Integer msgId;
    
    /**备注*/
    private String remark;

    public ChatDO() {
        super();
    }

    public ChatDO(Integer id, Integer senderId, String senderName, Integer recipientId, String recipientName,
            Long sendTime, String sendContent, Integer visitorId, Integer delete1, Integer size, String fileName,
            Integer msgId, String remark) {
        super();
        this.id = id;
        this.senderId = senderId;
        this.senderName = senderName;
        this.recipientId = recipientId;
        this.recipientName = recipientName;
        this.sendTime = sendTime;
        this.sendContent = sendContent;
        this.visitorId = visitorId;
        this.delete1 = delete1;
        this.size = size;
        this.fileName = fileName;
        this.msgId = msgId;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSenderId() {
        return senderId;
    }

    public void setSenderId(Integer senderId) {
        this.senderId = senderId;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public Integer getRecipientId() {
        return recipientId;
    }

    public void setRecipientId(Integer recipientId) {
        this.recipientId = recipientId;
    }

    public String getRecipientName() {
        return recipientName;
    }

    public void setRecipientName(String recipientName) {
        this.recipientName = recipientName;
    }

    public Long getSendTime() {
        return sendTime;
    }

    public void setSendTime(Long sendTime) {
        this.sendTime = sendTime;
    }

    public String getSendContent() {
        return sendContent;
    }

    public void setSendContent(String sendContent) {
        this.sendContent = sendContent;
    }

    public Integer getVisitorId() {
        return visitorId;
    }

    public void setVisitorId(Integer visitorId) {
        this.visitorId = visitorId;
    }

    public Integer getDelete1() {
        return delete1;
    }

    public void setDelete1(Integer delete1) {
        this.delete1 = delete1;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getMsgId() {
        return msgId;
    }

    public void setMsgId(Integer msgId) {
        this.msgId = msgId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "ChatDO [id=" + id + ", senderId=" + senderId + ", senderName=" + senderName + ", recipientId="
                + recipientId + ", recipientName=" + recipientName + ", sendTime=" + sendTime + ", sendContent="
                + sendContent + ", visitorId=" + visitorId + ", delete1=" + delete1 + ", size=" + size + ", fileName="
                + fileName + ", msgId=" + msgId + ", remark=" + remark + "]";
    }
    
    
}
